package cn.iocoder.yudao.module.crm.controller.admin.tasktype.vo.tasktypeassignee;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 任务单类型处理人关联新增/修改 Request VO")
@Data
public class TaskTypeAssigneeSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24249")
    private Long id;

    @Schema(description = "任务单类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28597")
    @NotNull(message = "任务单类型ID不能为空")
    private Long taskTypeId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28881")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "每月下发时间")
    private LocalDateTime monthlyIssueTime;

}